package _interface.Exer1;

public class EatableTest {
    public static void main(String[] args) {
        Eatable[] eatable = new Eatable[3];
        eatable[0] = new Chinese();
        eatable[1] = new American();
        eatable[2] = new Indian();

        for (Eatable value : eatable) {
            value.eat();
        }
    }
}
